package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfLuckyDao;
import com.wfcm.entity.WfLuckyEntity;
import com.wfcm.service.WfLuckyService;



@Service("wfLuckyService")
public class WfLuckyServiceImpl implements WfLuckyService {
	@Autowired
	private WfLuckyDao wfLuckyDao;
	
	@Override
	public WfLuckyEntity queryObject(Integer id){
		return wfLuckyDao.queryObject(id);
	}
	
	@Override
	public List<WfLuckyEntity> queryList(Integer i){
		return wfLuckyDao.queryList(i);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfLuckyDao.queryTotal(map);
	}
	
	@Override
	public void save(WfLuckyEntity wfLucky){
		wfLuckyDao.save(wfLucky);
	}
	
	@Override
	public void update(WfLuckyEntity wfLucky){
		wfLuckyDao.update(wfLucky);
	}
	
	@Override
	public void delete(Integer id){
		wfLuckyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfLuckyDao.deleteBatch(ids);
	}
	
}
